namespace DotNetNuke.Services.Localization
{
    using System;
    using System.Xml.Serialization;

    [XmlRoot("LanguagePack")]
    public class LocaleFilePack
    {
        private LocaleFileCollection _Files = new LocaleFileCollection();
        private Locale _LocalePackCulture = new Locale();
        private string _Version;

        [XmlArrayItem("File", typeof(LocaleFileInfo))]
        public LocaleFileCollection Files
        {
            get
            {
                return this._Files;
            }
            set
            {
                this._Files = value;
            }
        }

        [XmlElement("Culture")]
        public Locale LocalePackCulture
        {
            get
            {
                return this._LocalePackCulture;
            }
            set
            {
                this._LocalePackCulture = value;
            }
        }

        [XmlAttribute]
        public string Version
        {
            get
            {
                return this._Version;
            }
            set
            {
                this._Version = value;
            }
        }
    }
}

